<?
require_once __DIR__."/starter.php";
$filename = $MAIN->site['template_path']."/header.php";
if(file_exists($filename)){
    require_once $filename;
}else{
    Logger::error("Header [".$MAIN->site['template']. "]template not found");
}